home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / tex-k / tex-k-archive.past / tex-k-archive.gz / tex-k-archive / 000152_rogerj@lps.cornell.edu_Mon Jan 10 13:03:44 1994.msg < prev    next >
Internet Message Format  |  1994-10-11  |  4KB

  1. Received: from PLASMA.LPS.CORNELL.EDU by cs.umb.edu with SMTP id AA12984
  2.   (5.65c/IDA-1.4.4 for <tex-k@cs.umb.edu>); Mon, 10 Jan 1994 19:10:04 -0500
  3. Received: from ZENITH.LPS.CORNELL.EDU by plasma.lps.cornell.edu with SMTP id AA16560
  4.   (5.67a/IDA-1.5 for <tex-k@cs.umb.edu>); Mon, 10 Jan 1994 18:03:44 -0500
  5. Date: Mon, 10 Jan 1994 18:03:44 -0500
  6. From: Roger Jagoda <rogerj@lps.cornell.edu>
  7. Message-Id: <199401102303.AA16560@plasma.lps.cornell.edu>
  8. To: tex-k@cs.umb.edu
  9. Subject: dvipsk path searching
  10.  
  11. Folks,
  12.  
  13. I'm probably missing something here. We wanted to use the programs
  14. from Karl as the kpath libraries sounded like a great idea to us.
  15. Our TeX tree looks like this:
  16.  
  17.  
  18. 329 zenith ## ls -la /usr/local/lib/tex
  19. total 58
  20. drwxr-sr-x  9 root          512 Jan  2 17:44 ./
  21. drwxr-sr-x 14 root         1024 Jan 10 12:18 ../
  22. drwxr-sr-x  2 root          512 Dec 17 18:54 bases/
  23. drwxr-sr-x  5 root          512 Jan 10 17:07 doc/
  24. drwxr-sr-x  2 root          512 Jan  2 14:42 dvips/
  25. drwxr-sr-x 19 root          512 Jan  2 17:22 fonts/
  26. drwxr-sr-x  2 root          512 Dec 17 18:53 formats/
  27. lrwxrwxrwx  1 root            6 Dec 10 13:28 inputs -> macros
  28. drwxr-sr-x 27 root          512 Jan 10 17:03 macros/
  29. -rw-r--r--  1 root        22147 Dec 17 18:54 mf.pool
  30. drwxr-sr-x  2 root          512 Jan  2 16:42 ps/
  31. -rw-r--r--  1 root        25770 Dec 17 18:54 tex.pool
  32.  
  33.  
  34. And our macros dir is HUGE:
  35.  
  36. ls -la /usr/local/lib/tex/macros
  37. total 40
  38. drwxr-sr-x 27 root          512 Jan 10 17:03 ./
  39. drwxr-sr-x  9 root          512 Jan  2 17:44 ../
  40. drwxrwsr-x  2 root          512 Dec 10 17:17 amstex/
  41. drwxrwxr-x  2 root         1024 Nov  2 10:59 array/
  42. drwxrwxr-x  2 root         1536 Nov 18 09:52 babel/
  43. drwxrwxr-x  2 root         5120 Dec 10 14:21 bibtex/
  44. drwxrwxr-x  2 root          512 Nov 18 09:52 changebar/
  45. drwxrwxr-x  2 root          512 Nov  2 10:59 doc/
  46. drwxrwxr-x  2 root          512 Jan  1 16:21 dvips/
  47. drwxrwxr-x  2 root          512 Nov  2 10:59 ftnright/
  48. drwxrwxr-x  2 root          512 Sep 13 05:35 hyph/
  49. drwxrwxr-x  5 root          512 Nov  2 10:59 latex/
  50. drwxr-sr-x  4 root          512 Jan  2 17:44 local/
  51. drwxr-sr-x  2 root          512 Jan 10 17:21 mactex/
  52. drwxrwxr-x  3 root         8704 Jan 10 16:48 misc/
  53. drwxrwxr-x  2 root          512 Nov  2 10:59 multicol/
  54. drwxrwxr-x  2 root          512 Apr 10  1993 picinpar/
  55. drwxrwxr-x  2 root          512 Nov 18 09:52 pictex/
  56. drwxrwxr-x  2 root          512 Apr 10  1993 plain/
  57. drwxrwxr-x  2 root          512 Nov  2 10:21 psfonts/
  58. drwxrwxr-x  8 root          512 Dec 10 11:37 pstricks/
  59. drwxrwxr-x  2 root         1024 Nov 18 09:52 rotating/
  60. drwxrwxr-x  5 root          512 Nov 18 09:52 seminar/
  61. drwxrwxr-x  2 root          512 Dec 17 18:24 texinfo/
  62. drwxrwxr-x  2 root          512 Nov  2 10:59 theorem/
  63. drwxrwxr-x  2 root          512 Nov  2 10:59 validate/
  64. drwxrwxr-x  2 root          512 Nov  2 10:59 verbatim/
  65. 331 zenith ## 
  66.  
  67.  
  68. Anyway, we added a file to the dir /usr/local/lib/tex/macros/mactex
  69. (lprep71.pro to be exact), but when we rehashed and tried to use it,
  70. dvipsk complained it couldn't find the file:
  71.  
  72. ' TeX output 1994.01.10:1754' -> mactotex.tex.ps
  73. /usr/local/bin/dvips: ! Couldn't find header file lprep71.pro
  74.  
  75.  
  76. Of course, if we specify the file exactly, it works:
  77.  
  78.  
  79. 227 zenith % diff mactotex.tex mactotex.tex.orig
  80. 8c8
  81. < \special{header=/usr/local/lib/tex/macros/mactex/lprep71.pro}
  82. ---
  83. > \special{header=lprep71.pro}
  84. 91c91
  85. < \special{header=/usr/local/lib/tex/macros/mactex/lprep68.pro}
  86. ---
  87. > \special{header=lprep68.pro}
  88. 228 zenith %
  89.  
  90.  
  91. Now, my understanding was that dvipsk would SEARCH for the file
  92. under ANY SUBDIRECTORY in /usr/local/lib/tex/macros for the lprep71.pro
  93. file (found in /usr/local/lib/tex/macros/mactex/lprep71.pro). If this
  94. isn't the case, we'll go back to the original codes from Tom R.
  95.  
  96. Here's the TeX Environment variables:
  97.  
  98. TEXINPUTS=.:/usr/local/lib/tex/macros//
  99. TEXFONTS=.:/usr/local/lib/tex/fonts//
  100. TEXPKS=.:/usr/local/lib/tex/fonts//
  101. DVIPSFONTS=.:/usr/local/lib/tex/fonts//
  102.  
  103.  
  104. Does dvips need another directory to look in OTHER that the inputs
  105. (macros) directory?
  106.  
  107.  
  108. Thanks in advance for any help, really!
  109.  
  110. --Roger Jagoda
  111. Cornell University
  112. rogerj@lps.cornell.edu
  113.